Ready, Set, Verify!
نویسندگان
چکیده
Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq to translate significant portions of Haskell’s containers library into Coq, and verify it against specifications that we derive from a variety of sources including type class laws, the library’s test suite, and interfaces from Coq’s standard library. Our work shows that it is feasible to verify mature, widely-used, highly optimized, and unmodified Haskell code. We also learn more about the theory of weight-balanced trees, extend hs-to-coq to handle partiality, and – since we found no bugs – attest to the superb quality of well-tested functional code.
منابع مشابه
Biologically-inspired Robots for Stage Performance
Stage performances present many challenges and opportunities in the field of robotics. Onstage robots not only have to function flawlessly, they must interact convincingly with their human counterparts and adhere to a rigid timeline. The scope of this work is to create set pieces that look and behave like organic entities for the production of Tod Machover's new opera, Death and the Powers. Wit...
متن کاملاندازهگیری ویژگیهای مورفومتریک خندقهای جنوب شرق ایران با پردازش رقومی تصاویر سنجنده ETM+
Dasht Yari plain is nearly 580,000 hectares which is under engraving gully erosion and unfortunately the gully development rate is increased in the recent decades. Satellite images may provide quick, extensive, and valuable information for the interpretation of morphometric characterstics of gully erosion expansion due to having attributes such as time series, relatively low cost, large coverag...
متن کاملاندازهگیری ویژگیهای مورفومتریک خندقهای جنوب شرق ایران با پردازش رقومی تصاویر سنجنده ETM+
Dasht Yari plain is nearly 580,000 hectares which is under engraving gully erosion and unfortunately the gully development rate is increased in the recent decades. Satellite images may provide quick, extensive, and valuable information for the interpretation of morphometric characterstics of gully erosion expansion due to having attributes such as time series, relatively low cost, large coverag...
متن کاملOptimizing of ready-mixed concrete vehicle scheduling problem by hybrid heuristic algorithm
RMC (Ready-mixed concrete) vehicle scheduling problem is a complex combinatorial optimization problem with intersection of several research areas, such as logistics, just-in-time production and supply chains etc. We integrates RMC production scheduling and vehicle dispatch problems in the same framework by network flow techniques and establishes a mixed integer programming model for ready-mixed...
متن کاملPEIECWISE CONSTANT LEVEL SET METHOD BASED FINITE ELEMENT ANALYSIS FOR STRUCTURAL TOPOLOGY OPTIMIZATION USING PHASE FIELD METHOD
In this paper the piecewise level set method is combined with phase field method to solve the shape and topology optimization problem. First, the optimization problem is formed based on piecewise constant level set method then is updated using the energy term of phase field equations. The resulting diffusion equation which updates the level set function and optimization ...
متن کامل